import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
// 1. 引入你需要的组件
import { Empty,Checkbox, CheckboxGroup,SwipeCell,Card,SubmitBar,Stepper,ActionBar, ActionBarIcon, ActionBarButton ,NavBar,Button ,Toast,Form, List, Field, CountDown,CellGroup,Icon, Search,Tabbar, TabbarItem,Swipe, SwipeItem, Col, Row, Grid, GridItem } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';

const app = createApp(App)
// 3. 注册你需要的组件
app.use(Button);
app.use(Empty);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(SwipeCell);
app.use(Card);
app.use(SubmitBar);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Search);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Swipe);
app.use(SwipeItem);
app.use(Col);
app.use(Row);
app.use(Icon);
app.use(Grid);
app.use(GridItem)
app.use(CountDown)
app.use(List)
app.use(NavBar)
app.use(Toast)
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(Stepper);


app.use(createPinia())
app.use(router)

app.mount('#app')
